<script>
//组件js脚本代码 组合式
import {ref,version} from 'vue'
export default{
  setup(){
      const age = ref(18)
      return {
        version,
        age,
        msg:'hello world 组件4'
      }
    }
}

</script>

<template>
  <!-- 模板必须有 -->
  <h3>组件44444</h3>
  <h3>{{msg}} {{age}} {{version}}</h3>
</template>

<style scoped>
/*scoped 当前组件局部样式*/

</style>
